namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// ——配置 - 设备自身货位（设备与位置对应关系）
    /// </summary>
    public DbSet<POWcsEquipLoc> WcsEquipLocs { get; set; }
}

/// <summary>
/// ——配置 - 设备自身货位（设备与位置对应关系）
/// 表[wcs_equip_loc]
/// </summary>
[Table("wcs_equip_loc")]
public class POWcsEquipLoc
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[wcs_equip_loc.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 设备Id
    /// [wcs_equip_loc.equip_id)]
    /// </summary>
    [Column("equip_id")]
    public long? EquipId { get; set; }
    /// <summary>
    /// 货位Id
    /// [wcs_equip_loc.loc_id)]
    /// </summary>
    [Column("loc_id")]
    public long? LocId { get; set; }
    /// <summary>
    /// 货位顺序
    /// [wcs_equip_loc.loc_index)]
    /// </summary>
    [Column("loc_index")]
    public int? LocIndex { get; set; }
    /// <summary>
    /// 关系分，分数越高约远
    /// [wcs_equip_loc.relate_score)]
    /// </summary>
    [Column("relate_score")]
    public int? RelateScore { get; set; }
    /// <summary>
    /// 创建时间
    /// [wcs_equip_loc.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [wcs_equip_loc.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [wcs_equip_loc.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
}
